<template>
  <div id="app">
    
    <sellheader ></sellheader>
    <div class="qwe">
      <div class="nav">
        <router-link to="/goods">商品</router-link>
      </div>
      <div class="nav">
        <router-link to="/evaluate">评价</router-link>
      </div>
      <div class="nav">
        <router-link to="/merchant">商家</router-link>
      </div>
      
    </div>
    <div>
        <router-view class="router"></router-view>
      </div>
      <!-- <sellfoot></sellfoot> -->
  </div>
</template>

<script>
import header from "./components/header";
// import foot from './components/foot'
import{mapState,mapActions} from 'vuex'
export default {
  name: "App",
  components: {
    sellheader: header,
    // sellfoot:foot,
  },
  methods: {
    ...mapActions(['getevaluate','getgoods','getmerchant'])
  },
  computed:{
    ...mapState(["evaluate",'goods','merchant'])
  },
  mounted() {
    this.getevaluate()
    this.getgoods()
    this.getmerchant()
  },
};
</script>

<style lang="less" scopend>
html{
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body{
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#app{
  width:100%;
  height:100%;
  overflow: hidden;
}
.qwe {
  display: flex;
  height: 80px;
  border-bottom: 1px solid rgbA(7, 17, 27,0.1);
  
  // align-items:center;
  .nav {
    display: flex;
    height: 80px;
    flex:1;
    justify-content:center;
    align-items:center;
    a{
      color: rgb(77, 85, 93);
      font-size: 28px;
      line-height: 28px;
      &.active{
        color: rgba(240, 20, 20, 1);
      }
    }
  }
}
</style>
